#pragma once
#include "IFrequencyTable.h"
#include <map>
using std::map;

class FrequencyTable : public IFrequencyTable 
{
private:
	map<char,int> m_table;
	map<char,int>::iterator m_pointer;
public:
	FrequencyTable();
	FrequencyTable(map<char,int>&);
	virtual int GetFrequency(char c);
	virtual void increment(char c);
	virtual void reset();
	virtual size_t count();
	virtual void moveIterator();
	virtual void reflesh();
	virtual char getCurrentChar();
	virtual unsigned getCurrentNum();
};